<T:ViewBase x:Class="WPFExcelReport.TAK02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:ChartEx="clr-namespace:WPFExcelReport.Chart;assembly=ITXVIEWS"
                    Background="White"  
                    Name="TV"
                    Loaded="Window_Loaded"
     >
    <T:ViewBase.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:TIMES100  x:Key="X100"/>
        <ucd:TIMES10  x:Key="X10"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PreisConverter  x:Key="PreisConverter"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </T:ViewBase.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"></ColumnDefinition>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <WrapPanel>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions> 
                <CheckBox IsChecked="{Binding IsSP,ElementName=TV}"></CheckBox>
                <TextBlock Grid.Column="1" Text="{Binding Source={Localization:Translate Word=赛络纺/普通}}"></TextBlock>
            </Grid>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>

                <CheckBox IsChecked="{Binding IsHN,ElementName=TV}"></CheckBox>
                <TextBlock Grid.Column="1" Text="{Binding Source={Localization:Translate Word=高支}}"></TextBlock>
            </Grid>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>

                <CheckBox IsChecked="{Binding IsPT,ElementName=TV}"></CheckBox>
                <TextBlock Grid.Column="1" Text="{Binding Source={Localization:Translate Word=普通}}"></TextBlock>
            </Grid>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>

                <CheckBox IsChecked="{Binding IsSD,ElementName=TV}"></CheckBox>
                <TextBlock Grid.Column="1" Text="{Binding Source={Localization:Translate Word=赛络纺/断染}}"></TextBlock>
            </Grid>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>

                <CheckBox IsChecked="{Binding IsSZ,ElementName=TV}"></CheckBox>
                <TextBlock Grid.Column="1" Text="{Binding Source={Localization:Translate Word=赛络纺/竹节}}"></TextBlock>
            </Grid>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>

                <CheckBox IsChecked="{Binding IsZP,ElementName=TV}"></CheckBox>
                <TextBlock Grid.Column="1" Text="{Binding Source={Localization:Translate Word=竹节}}"></TextBlock>
            </Grid>

        </WrapPanel>
        <ex:AniScrollViewer Grid.Row="1"  Grid.Column="0" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" >
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                    <RowDefinition Height="Auto"></RowDefinition>
                </Grid.RowDefinitions>
                <ChartEx:ChartEx0007 Grid.Row="0" Name="chSP" Visibility="{Binding IsSP,ElementName=TV,Converter={StaticResource bv}}"></ChartEx:ChartEx0007>
                <ChartEx:ChartEx0007 Grid.Row="1" Name="chHN" Visibility="{Binding IsHN,ElementName=TV,Converter={StaticResource bv}}"></ChartEx:ChartEx0007>
                <ChartEx:ChartEx0007 Grid.Row="2" Name="chPT" Visibility="{Binding IsPT,ElementName=TV,Converter={StaticResource bv}}"></ChartEx:ChartEx0007>
                <ChartEx:ChartEx0007 Grid.Row="3" Name="chSD" Visibility="{Binding IsSD,ElementName=TV,Converter={StaticResource bv}}"></ChartEx:ChartEx0007>
                <ChartEx:ChartEx0007 Grid.Row="4" Name="chSZ" Visibility="{Binding IsSZ,ElementName=TV,Converter={StaticResource bv}}"></ChartEx:ChartEx0007>
                <ChartEx:ChartEx0007 Grid.Row="5" Name="chZP" Visibility="{Binding IsZP,ElementName=TV,Converter={StaticResource bv}}"></ChartEx:ChartEx0007>
            </Grid>
        </ex:AniScrollViewer>
    </Grid>
</T:ViewBase> 
 
